<%
layout("/_container.html"){
%>
<div class="page-content-wrap">
		<div class="ibox-content">
			 <div class="row row-lg">
				<div class="col-sm-12">
				 <div id="toolbar">
				 <form class="layui-form" action="">
					<div class="layui-form-item">
					 	<div class="layui-inline tool-btn">
							<button class="layui-btn layui-btn-small layui-btn-normal addBtn hidden-xs" data-url="menu/menu-add">
								<i class="layui-icon">&#xe654;</i>
							</button>
							<button class="layui-btn layui-btn-small layui-btn-warm editBtn " data-url="menu/menu-edit">
								<i class="layui-icon ">&#xe642;</i>
							</button>					
							<button class="layui-btn layui-btn-small layui-btn-danger delBtn" data-url="menu/delete">
								<i class="layui-icon ">&#xe640;</i>
							</button>
						</div>
							<#text name="name" placeholder="请输入标题"/>			
							<% var options = [['','请选择一个状态'],[true,'显示'],[false,'隐藏']];%>
							<#sel name="available" options="${options}"/>
							<#date name="create_begin" placeholder="创建时间大于" istime="true" format="YYYY-MM-DD hh:mm:ss"/>						
							<#date name="create_end" placeholder="创建时间小于" istime="true" format="YYYY-MM-DD hh:mm:ss"/>	
							<button class="layui-btn layui-btn-normal" lay-submit lay-filter="search">搜索</button>
							<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						</div>
					</form>					
	        	</div>	
						<#table id="menuTable"/>
				</div>		
			  </div>	
		  </div>
	</div>
	<script src="${ctxPath}/modular/system/menu.js?v=4" type="text/javascript" charset="utf-8"></script>
<% } %>